package com.zq.designpaterns.create.absfactory;

import com.zq.designpaterns.create.enums.Colors;
import com.zq.designpaterns.create.enums.ShapeType;
import com.zq.designpaterns.create.interfaces.Color;
import com.zq.designpaterns.create.interfaces.Shape;

/**
 * ================================================
 * 作    者：程志强
 * 邮    箱：cheng.zhiqiang@cesgroup.com.cn
 * 版    本：1.0.0
 * 创建日期：2021/01/11  11:01
 * 修改日期：
 * 描    述：
 * 修订历史：
 * ================================================
 */
public abstract class AbstractFactory {
    /**
     * 获取形状
     *
     * @return
     */
    public abstract Shape getShape(ShapeType type);

    /**
     * 获取颜色
     *
     * @return
     */
    public abstract Color getColor(Colors color);
}
